#pragma once
#include <string>

using namespace std;
#include "ModuleData.h"

//Ports can be in/out/inout
enum InOutType { TYPE_IN, TYPE_OUT, TYPE_INOUT };

/*
Temporarily stores the source or target ends of the channel
*/
class ChannelDataInfo
{
	int mTargetAddress;
	string mName;
	string mType;
	ModuleData* mModuleData;
	InOutType mInOutType;
public:

	ChannelDataInfo(ModuleData* moduleData, int targetAddress, string name, string type, InOutType inOutType);
	~ChannelDataInfo();
	string getName();
	string getType();
	InOutType getInOutType();
	int getTargetAddress();
	ModuleData* getModuleData();
};